
<%@ page contentType="text/html;charset=gbk" %>
<%@ page import="java.sql.*"%>
<%@ page import="com.oa.database.*"%>
<%@ page import="com.oa.util.Format"%>
<%@ include file="../share/login_info.jsp"%>

<%
    String sWZID_get = request.getParameter("WZID");

    if (sWZID_get == null) {
        sWZID_get = "0";
    }

    String sTable = "OA_GFWZB";
    String sField = "WZNR";
    String sCondition = "WZID=" + sWZID_get;

    Format format = new Format();
    DataConn dataConn = new DataConn();
    QueryData queryData = new QueryData(dataConn);
    queryData.setMultRecordSet(sTable, sField, sCondition);
    ResultSet rs_temp = queryData.getResultSet();

    String temp_content = "";

    try {
        if (rs_temp.next()) {
            temp_content = format.toSpaceStr(rs_temp.getString("WZNR"));
            out.println(temp_content);
        }
        else
        {
            out.println("111111");
        }
    }
    catch(Exception e) { out.println("em"+e);}

    dataConn.close();
%>
